package proc

import (
	"os/exec"
	"strconv"
)

func (id PID) interrupt() error {
	return id.Kill()
}

func (id PID) terminate() error {
	return id.Kill()
}

func (id PID) kill() error {
	return exec.Command("taskkill", "/F", "/T", "/id", strconv.Itoa(int(id))).Run()
}
